package your_car_status

class Diagnostic {

    Date date
    String paint
    String jack //gato de carro
    String lugWrench //llave de cruz
    String lugNut //birlo de seguridad
    String extraTire //llanta de refaccion
    String horn //claxon
    String seats //asientos
    String electricSystem //sistema electrico
    String handles //manijas
    String locks //seguros
    String controlBottom //boton de control
    String lightsandindicators //indicadores y luces
    String cleanliness //limpieza
    String airConditioning //calefaccion
    String audioSystem //sistema de audio
    String alarm //alarma
    String glasses //vidrios
    String wiper //limpiabrisas
    String odometer //revision del odometro
    String allowedKM //kmpermitidos
    String water //agua
    String engineOil //aceite del motor
    String powerSteeringFluid //liquido de direccion
    String transmissionFluid //liquido de transmison
    String brakeFluid //liquido de frenos
    String warningLights //luces de advertencia
    String shiftSoftness //suavidad en los cambios
    String shiftRigidity //rigidez en los cambios
    String breakSystem //sistema de frenos
    String handbrake //freno de mano
    String terminalsConditions //condicion de las terminales
    String physicalState//estado fisico
    String physicalStateOfWire //estado fisico de los cables
    String vehicleLicense //tarjeta de circulacion
    String policyInssurance //poliza del seguro
    String verificationProof //comprobante de verificacion
    String observations
    
    MechanicalTechnician mechanicalTechnician
    
    static belongsTo = [vehicle : Vehicle]
    
    
    static constraints = {
        paint inList:["Good","Regular","Bad"], blank:false
        jack inList:["Good","Regular","Bad"], blank:false
        lugWrench inList:["Good","Regular","Bad"], blank:false
        lugNut inList:["Good","Regular","Bad"], blank:false
        extraTire inList:["Good","Regular","Bad"], blank:false
        horn inList:["Good","Regular","Bad"], blank:false
        seats inList:["Good","Regular","Bad"], blank:false
        electricSystem inList:["Good","Regular","Bad"], blank:false
        handles inList:["Good","Regular","Bad"], blank:false
        locks inList:["Good","Regular","Bad"], blank:false
        controlBottom inList:["Good","Regular","Bad"], blank:false
        lightsandindicators inList:["Good","Regular","Bad"], blank:false
        cleanliness inList:["Good","Regular","Bad"], blank:false
        airConditioning inList:["Good","Regular","Bad"], blank:false
        audioSystem inList:["Good","Regular","Bad"], blank:false
        alarm inList:["Good","Regular","Bad"], blank:false
        glasses inList:["Good","Regular","Bad"], blank:false
        wiper inList:["Good","Regular","Bad"], blank:false
        odometer inList:["Good","Regular","Bad"], blank:false
        allowedKM inList:["Good","Regular","Bad"], blank:false
        water inList:["Good","Regular","Bad"], blank:false
        engineOil inList:["Good","Regular","Bad"], blank:false
        powerSteeringFluid inList:["Good","Regular","Bad"], blank:false
        transmissionFluid inList:["Good","Regular","Bad"], blank:false
        brakeFluid inList:["Good","Regular","Bad"], blank:false
        warningLights inList:["Good","Regular","Bad"], blank:false
        shiftSoftness inList:["Good","Regular","Bad"], blank:false
        shiftRigidity inList:["Good","Regular","Bad"], blank:false
        breakSystem inList:["Good","Regular","Bad"], blank:false
        handbrake inList:["Good","Regular","Bad"], blank:false
        terminalsConditions inList:["Good","Regular","Bad"], blank:false
        physicalState inList:["Good","Regular","Bad"], blank:false
        physicalStateOfWire inList:["Good","Regular","Bad"], blank:false
        vehicleLicense inList:["Good","Regular","Bad"], blank:false
        policyInssurance inList:["Good","Regular","Bad"], blank:false
        verificationProof inList:["Good","Regular","Bad"], blank:false
    }
}